package com.atmilan.quartz.model.entity.crmeb;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 供应商未匹配分类表
 * </p>
 *
 * @author wuzp
 * @since 2022-04-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("eb_supplier_unmatch_category")
@ApiModel(value="SupplierUnmatchCategory对象", description="供应商未匹配分类表")
public class SupplierUnmatchCategory extends Model<SupplierUnmatchCategory> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "一级分类")
    private String firstCate;

    @ApiModelProperty(value = "二级分类")
    private String secondCate;

    @ApiModelProperty(value = "三级分类")
    private String thirdCate;

    @ApiModelProperty(value = "类型")
    private Integer type;

    @ApiModelProperty(value = "是否删除（0否 1是）")
    private Integer isDel;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
